package calorie.com.calorie.response;

import java.util.List;

public class AccelerateResponce {


    /**
     * code : 200
     * msg : success
     * data : [{"id":1,"userId":4,"createTime":1575362239000,"endTime":1575362239000,"remarks":"一倍加速","surplusDay":"364"},{"id":2,"userId":4,"createTime":1575362528000,"endTime":1575362528000,"remarks":"二倍加速","surplusDay":"364"}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * userId : 4
         * createTime : 1575362239000
         * endTime : 1575362239000
         * remarks : 一倍加速
         * surplusDay : 364
         */

        private int id;
        private int userId;
        private long createTime;
        private long endTime;
        private String remarks;
        private String surplusDay;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public long getEndTime() {
            return endTime;
        }

        public void setEndTime(long endTime) {
            this.endTime = endTime;
        }

        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public String getSurplusDay() {
            return surplusDay;
        }

        public void setSurplusDay(String surplusDay) {
            this.surplusDay = surplusDay;
        }
    }
}
